package com.spring.advice;

public class NataiveWatier implements Waiter {
    @Override
    public void greet(String customerName) {
        System.out.println("问候：" + customerName);
    }

    @Override
    public void serve(String customerName) {

        System.out.println("服务：" + customerName);
    }

    @Override
    public void updateTable() {

        System.out.println("更新数据表");
        throw new RuntimeException("更新失败，出现异常");
    }
}
